<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Electron 音乐播放器</title>
    <link
      rel="stylesheet"
      href="../node_modules//bootstrap/dist/css/bootstrap.min.css"
    />
    <link
      rel="stylesheet"
      href="https://use.fontawesome.com/releases/v5.15.3/css/all.css"
    />
    <link rel="stylesheet" href="./index.css" />
  </head>
  <body>
    <div class="container mt-4">
      <h1>我的播放器</h1>
      <div class="d-grid gap-2 mt-4">
        <button
          type="button"
          id="add-music-button"
          class="btn btn-primary btn-lg btn-block"
        >
          添加歌曲到曲库
        </button>
      </div>
      <div id="tracksList" class="mt-4"></div>
    </div>
    <div class="container fixed-bottom bg-white pb-4">
      <hr />
      <div class="row my-2" id="player-status"></div>
      <div class="progress">
        <div
          id="player-progress"
          class="progress-bar bg-success"
          style="width: 0%"
          role="progressbar"
        >
          0%
        </div>
      </div>
    </div>
    <script>
      window.require("./index.js");
    </script>
  </body>
</html>
